package cn.neusoft.domain;


import java.sql.Date;

public class CargoDescription {
    private String name;
    private int id;
    private String unit;
    private double salePrice;
    private double costPrice;
    private String type;
    private String manufacture;
    private String provider;
    private java.sql.Date dateFrom;
    private java.sql.Date dateTo;
    private boolean isWithdraw;
    private boolean isChange;
    private String notes;

    private String discount;

    public CargoDescription() {
    }

    public CargoDescription(String name, String unit, double salePrice, double costPrice, String type, String manufacture, String provider, Date dateFrom, Date dateTo, boolean isWithdraw, boolean isChange, String notes, String discount) {
        this.name = name;
        this.unit = unit;
        this.salePrice = salePrice;
        this.costPrice = costPrice;
        this.type = type;
        this.manufacture = manufacture;
        this.provider = provider;
        this.dateFrom = dateFrom;
        this.dateTo = dateTo;
        this.isWithdraw = isWithdraw;
        this.isChange = isChange;
        this.notes = notes;
        this.discount = discount;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public double getSalePrice() {
        return salePrice;
    }

    public void setSalePrice(double salePrice) {
        this.salePrice = salePrice;
    }

    public double getCostPrice() {
        return costPrice;
    }

    public void setCostPrice(double costPrice) {
        this.costPrice = costPrice;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getManufacture() {
        return manufacture;
    }

    public void setManufacture(String manufacture) {
        this.manufacture = manufacture;
    }

    public String getProvider() {
        return provider;
    }

    public void setProvider(String provider) {
        this.provider = provider;
    }

    public Date getDateFrom() {
        return dateFrom;
    }

    public void setDateFrom(Date dateFrom) {
        this.dateFrom = dateFrom;
    }

    public Date getDateTo() {
        return dateTo;
    }

    public void setDateTo(Date dateTo) {
        this.dateTo = dateTo;
    }

    public boolean isWithdraw() {
        return isWithdraw;
    }

    public void setWithdraw(boolean withdraw) {
        isWithdraw = withdraw;
    }

    public boolean isChange() {
        return isChange;
    }

    public void setChange(boolean change) {
        isChange = change;
    }

    public String getNotes() {
        return notes;
    }

    public void setNotes(String notes) {
        this.notes = notes;
    }

    public String getDiscount() {
        return discount;
    }

    public void setDiscount(String discount) {
        this.discount = discount;
    }
}
